package team.freeroom.hotelmanage.controller.model;

import javax.validation.constraints.NotEmpty;

/**
 * 登录信息模型
 */
public class LoginUser {
    /**
     * 用户登录名
     */
    @NotEmpty(message = "请填写用户名！")
    private String username;
    /**
     * 登录密码
     */
    @NotEmpty(message = "请填写密码！")
    private String password;
    /**
     * 验证码
     */
    @NotEmpty(message = "请填写验证码！")
    private String cpacha;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCpacha() {
        return cpacha;
    }

    public void setCpacha(String cpacha) {
        this.cpacha = cpacha;
    }
}
